// import { vec2 } from 'gl-matrix'
// const numPositions = 5000
// const potitions = []
// const vertices: Array<vec2> = [
//   vec2.fromValues(-1.0, -1.0),
//   vec2.fromValues(0.0, 1.0),
//   vec2.fromValues(1.0, -1.0)
// ]

// import { vec2, Vec2 } from "./common/vector";
// const vertices: Array<Vec2> = [
//   vec2(-1.0, -1.0),
//   vec2(0.0, 1.0),
//   vec2(1.0, -1.0)
// ]
// console.log(vertices[0][1]);

import { Vector, vec2, add, zeroVector, unitVector } from './common/vector'
const v1Obj = new Vector([1, 2, 3, 56, 65])
const v2Obj = new Vector([13, 21, 13, 561, 635])
const v1 = vec2(9, 2)
const v2 = vec2(3, 4)

console.log(add(v1, v2));






